package api.istsoft.ru.sellandbuy.dal.Response;

import com.google.gson.annotations.SerializedName;

public class Category {

	@SerializedName("Id")
	private long id;
	
	@SerializedName("Name")
	private String name;
	
	@SerializedName("IconPath")
	private String iconPath;
	
	@SerializedName("ParentId")
	private long parentId;

	@SerializedName("Children")
	private Category[] children;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIconPath() {
		return iconPath;
	}

	public void setIconPath(String iconPath) {
		this.iconPath = iconPath;
	}

	public long getParentId() {
		return parentId;
	}

	public void setParentId(long parentId) {
		this.parentId = parentId;
	}

	public Category[] getChildren() {
		return children;
	}

	public void setChildren(Category[] children) {
		this.children = children;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}
	
	@Override
	public String toString() {
		return name;
	}
	
}
